﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frmOrder.aspx.cs" Inherits="BSPortal.Usercontrol.Admin.Book.Order.frmOrder" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit.HTMLEditor" tagprefix="cc1" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link href="/CSS/Style.css" rel="stylesheet" type="text/css" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>

    

    <style type="text/css">
        .style1
        {            text-align: center;
        }
        .style2
        {
            
        }
        .style3
        {            text-align: center;
        }
    </style>

    

</head>
<body>
    <form id="form1" runat="server">
    <script language="javascript" type="text/javascript">
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow)
                oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog      
            else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow; //IE (and Moz as well)      
            return oWindow;
        }

        function Close() {
            var arg = new Object();
            arg.Modified = document.getElementById('<%=hdModified.ClientID %>').value;
            GetRadWindow().Close(arg);
        }
        

        
    </script>
    <asp:ToolKitScriptManager ID="toolKitScriptManager" runat="server">
    </asp:ToolKitScriptManager>
    <asp:UpdatePanel runat="server" ID="updatePanel1" RenderMode="Inline" UpdateMode="Conditional">
        <ContentTemplate>
        <div align="center">
            <asp:Panel ID="Panel1" DefaultButton="btnSave" runat="server">
                <br />
                
                <table style="border-style: double; border-width: 3px; padding: 1px 4px" >
                    <tr>
                        <td align="left" class="style1">
                            ID:
                        </td>
                        <td align="right" class="style2">
                            <asp:TextBox ID="txtId" runat="server" Width="200px" Enabled="False"></asp:TextBox>
                        </td>
                        <td align="left" class="style3">
                            Tỉnh/Thành:</td>
                        <td align="right">
                            <asp:DropDownList ID="ddlCity" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="ddlCity_SelectedIndexChanged" Width="155px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" class="style1">
                            Phí:</td>
                        <td align="right" class="style2">
                            <asp:TextBox ID="txtFee" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td align="left" class="style3">
                            Quận/Huyện:
                        </td>
                        <td align="right">
                            <asp:DropDownList ID="ddlDistrict" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="ddlDistrict_SelectedIndexChanged" Width="155px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" class="style1">
                            Trạng thái:
                        </td>
                        <td align="right" class="style2">
                            <asp:DropDownList ID="ddlStatus" runat="server" Width="200px">
                                <asp:ListItem Value="0">Chưa xử lý</asp:ListItem>
                                <asp:ListItem Value="1">Đã xử lý</asp:ListItem>
                                <asp:ListItem Value="2">Hủy</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td align="left" class="style3">
                            Xã/Phường:</td>
                        <td align="right">
                            <asp:DropDownList ID="ddlWard" runat="server" Width="155px">
                            </asp:DropDownList>    
                        </td>
                    </tr>
                    <tr>
                        <td align="left" class="style1">
                            Số ĐT:</td>
                        <td align="right" class="style2">
                            <asp:TextBox ID="txtPhone" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td align="left" class="style3">
                            Số đường</td>
                        <td align="right">
                            <asp:TextBox ID="txtAddress" runat="server" Width="200px"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" class="style1">
                            Thanh toán</td>
                        <td align="right" class="style2">
                            <asp:TextBox ID="txtPayType" runat="server" Width="200px"></asp:TextBox>
                        </td>
                        <td align="left" class="style3">
                            &nbsp;</td>
                        <td align="right">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td align="left" colspan="2">
                            &nbsp;&nbsp;&nbsp; &nbsp;Ghi Chú</td>
                        <td align="left" class="style3" colspan="2">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td align="left" colspan="4">&nbsp;&nbsp;&nbsp; &nbsp;
                            <asp:TextBox ID="txtNote" TextMode="MultiLine" Width="600px" Height="100px" 
                    runat="server"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="left" colspan="4">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="height: 20px;" align="center" colspan="4">
                            <strong>
                                <asp:Label ID="lblStatus" runat="server" CssClass="sm_error"></asp:Label>
                            </strong>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="4">
                            <asp:Button ID="btnSave" runat="server" CssClass="Submit" Text="Lưu" ValidationGroup="ProductPriceNews"
                                OnClick="btnSave_Click" />&nbsp;
                            <asp:Button ID="btnReset" CssClass="Submit" runat="server" Text="Nhập lại" OnClick="btnReset_Click" />&nbsp;
                            <asp:Button ID="btnCancel" CssClass="Submit" runat="server" Text="Đóng" OnClientClick="Close()" />
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="4">
                            <br />
                            <asp:UpdateProgress ID="UpdateProgress2" runat="server" DisplayAfter="10" DynamicLayout="false">
                                <ProgressTemplate>
                                    <span>
                                        <asp:Image alt="" ID="imgLoading" ImageUrl="~/images/loader2.gif" runat="server" /></span>
                                </ProgressTemplate>
                            </asp:UpdateProgress>
                        </td>
                    </tr>
                </table>
                
                
                <asp:HiddenField ID="hdModified" runat="server" />
            </asp:Panel>
       </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
